package cn.zhf.shop.service;

import cn.zhf.shop.entity.Message;
import cn.zhf.shop.entity.order.OrderDetail;
import org.springframework.stereotype.Service;

import java.lang.reflect.Member;
import java.util.List;

@Service
public interface OrderDetailService{


    int deleteByPrimaryKey(Integer id);

    Message insert(OrderDetail record);

    OrderDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(OrderDetail record);

    Message<List<OrderDetail>> getByOrderId(String orderId);

}
